.class Lcom/waiqin365/lightapp/visit/bt;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/baidu/mapapi/map/BaiduMap$OnMarkerClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMarkerClick(Lcom/baidu/mapapi/map/Marker;)Z
    .locals 3

    const/16 v2, 0x258

    invoke-virtual {p1}, Lcom/baidu/mapapi/map/Marker;->getZIndex()I

    move-result v0

    if-eq v0, v2, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)I

    move-result v1

    if-lt v0, v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)I

    move-result v2

    sub-int v2, v0, v2

    invoke-virtual {v1, v2}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)I

    move-result v2

    sub-int v2, v0, v2

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)I

    move-result v2

    sub-int/2addr v0, v2

    invoke-static {v1, p1, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;Lcom/baidu/mapapi/map/Marker;I)Z

    :cond_0
    :goto_0
    const/4 v0, 0x1

    return v0

    :cond_1
    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bt;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/view/ViewPager;->getCurrentItem()I

    move-result v1

    invoke-static {v0, p1, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;Lcom/baidu/mapapi/map/Marker;I)Z

    goto :goto_0
.end method
